﻿using System.Runtime.Serialization;

namespace Pku.BookStore.Model
{
    /// <summary>
    /// 
    /// </summary>	
    [DataContract]
    public class CategoryModel
    {
        #region props

        /// <summary>
        /// 分类ID
        /// </summary>
        [DataMember]
        public int CategoryID
        {
            get;
            set;
        }

        /// <summary>
        /// 分类名称
        /// </summary>
        [DataMember]
        public string CategoryName
        {
            get;
            set;
        }

        /// <summary>
        /// 分类级别
        /// </summary>
        [DataMember]
        public int Level
        {
            get;
            set;
        }

        /// <summary>
        /// 上级ID
        /// </summary>
        [DataMember]
        public int pCatid
        {
            get;
            set;
        }

        #endregion
    }

}

